/*
 * @Description:
 * @Author: py
 * @Date: 2024-11-25
 */
import { Layout } from '@fl/utils/routerHelper'

const dataAnalysisRoute: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/pages/data-analysis/purchase-analysis/index.vue'),
            meta: {
                icon: 'i-material-symbols-light:browse-activity-outline-rounded',
                title: '购房链路分析',
            },
            name: 'purchase-analysis',
            path: 'purchase-chain-analysis',
        },
        {
            component: () => import('@/pages/data-analysis/rangking-board/index.vue'),
            meta: {
                icon: 'i-pepicons-pencil:file',
                title: '排行榜',
            },
            name: 'rangking-board',
            path: 'rangking-board',
        },
        {
            component: () => import('@/pages/data-analysis/coupon-statistics/index.vue'),
            meta: {
                icon: 'i-icon-park-outline:agreement',
                title: '项目优惠券统计',
            },
            name: 'data-analysis-coupon-statistics',
            path: 'coupon-statistics',
        },
        // {
        //     component: () => import('@/pages/data-analysis/daily-statistics/index.vue'),
        //     meta: {
        //         icon: 'i-icon-park-outline:agreement',
        //         title: '每日优惠券统计',
        //     },
        //     name: 'data-analysis-daily-statistics',
        //     path: 'daily-statistics',
        // },
        {
            component: () => import('@/pages/data-analysis/housing-act-detail/index.vue'),
            meta: {
                icon: 'i-icon-park-outline:agreement',
                title: '房交会活动明细',
            },
            name: 'data-analysis-housing-act-detail',
            path: 'housing-act-detail',
        },
    ],
    component: Layout,
    meta: {
        title: '数据分析',
    },
    name: 'data-analysis',
    path: '/data-analysis',
    redirect: '/data-analysis/purchase-chain-analysis',
}

export default dataAnalysisRoute
